package com.example.booksales.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = " Order", description = "订单实体")
public class Order {
    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getShopid() {
        return shopid;
    }

    public void setShopid(Long shopid) {
        this.shopid = shopid;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }
    @ApiModelProperty("订单ID")
    private Long orderid;
    @ApiModelProperty("购买图书名称")
    private String bookname;
    @ApiModelProperty("购买数量")
    private Long number;
    @ApiModelProperty("购买金额")
    private Long price;
    @ApiModelProperty("购买书店ID")
    private Long shopid;
    @ApiModelProperty("下单时间")
    private Date ordertime;
}
